Platform Explorer / Nuxeo Platform 5.8

Contribution org.nuxeo.dam.import.actions--chains

This contribution is part of XML component org.nuxeo.dam.import.actions inside nuxeo-dam-jsf-5.8.jar

Extension Point

Extension point chains of component OperationServiceComponent.

Contributed Items

  • <chain id="Dam.ImportInSeam">
          <operation id="Dam.Import">
            <param name="overwrite" type="boolean">true</param>
          </operation>
          <operation id="Seam.InitContext"/>
          <operation id="Seam.AddMessage">
            <param name="severity" type="string">INFO</param>
            <param name="message" type="string">label.dam.assets.imported</param>
          </operation>
          <operation id="Seam.Refresh"/>
          <operation id="Seam.DestroyContext"/>
        </chain>
  • <chain id="Dam.ImportWithMetaDataInSeam">
          <operation id="Dam.Import">
            <param name="overwrite" type="boolean">true</param>
            <param name="importInCurrentDocument" type="boolean">true</param>
          </operation>
          <operation id="Document.Update">
            <param name="properties" type="properties">expr:Context.get("docMetaData")
            </param>
          </operation>
          <operation id="Seam.AddMessage">
            <param name="severity" type="string">INFO</param>
            <param name="message" type="string">label.dam.assets.imported</param>
          </operation>
          <operation id="Seam.Refresh"/>
        </chain>

XML Source

<extension point="chains" target="org.nuxeo.ecm.core.operation.OperationServiceComponent">

    <chain id="Dam.ImportInSeam">
      <operation id="Dam.Import">
        <param name="overwrite" type="boolean">true</param>
      </operation>
      <operation id="Seam.InitContext"/>
      <operation id="Seam.AddMessage">
        <param name="severity" type="string">INFO</param>
        <param name="message" type="string">label.dam.assets.imported</param>
      </operation>
      <operation id="Seam.Refresh"/>
      <operation id="Seam.DestroyContext"/>
    </chain>

    <chain id="Dam.ImportWithMetaDataInSeam">
      <operation id="Dam.Import">
        <param name="overwrite" type="boolean">true</param>
        <param name="importInCurrentDocument" type="boolean">true</param>
      </operation>
      <operation id="Document.Update">
        <param name="properties" type="properties">expr:Context.get("docMetaData")
        </param>
      </operation>
      <operation id="Seam.AddMessage">
        <param name="severity" type="string">INFO</param>
        <param name="message" type="string">label.dam.assets.imported</param>
      </operation>
      <operation id="Seam.Refresh"/>
    </chain>

  </extension>